#include <stdio.h>
#include <uuid/uuid.h>
#include <string.h>

int main()
{
	char *strddd="rghhjjjjjjkkkn";
	char a[20]="newnen,w";

	while(str)
}

#if 0
void getUUid(char *p)
{
	char a[]="getUUid";
	strcpy(p,a);
}
int main()
{
	uuid_t uuid;
    char str[36];
 
    uuid_generate(uuid);
    uuid_unparse(uuid, str);
 
    printf("%s\n", str);

    char p[36];
    getUUid(p);
    printf("p:%s\n",p);
}

#endif


#if 0
#include <stdio.h>  
#include <time.h>  
int main()  
{  
    time_t now;         //time_t实际为长整形  
    struct tm  *w;          //tm结构体结构化存放时间  
  
    time(&now);  
    w=localtime(&now);      //获取当前系统时间  
//ms
    time_t timep;
	time (&timep);

	struct timeval tv;
	gettimeofday(&tv,NULL);
      
    printf("%04d/%02d/%02d %02d:%02d:%02d %03d\n",w->tm_year+1900,  
                w->tm_mon+1,w->tm_mday,w->tm_hour,w->tm_min,w->tm_sec,
                tv.tv_usec/1000);  

	char timeStr[30]={0};
	sprintf(timeStr,"%04d/%02d/%02d %02d:%02d:%02d %03d",
		w->tm_year+1900,w->tm_mon+1,w->tm_mday,w->tm_hour,w->tm_min,w->tm_sec,
        tv.tv_usec/1000);
	printf("sss:%s\n",timeStr);

    return 0;  
}  
#endif 
	
#if 0	
#include <time.h>
int main()
{
	time_t timep;
	time (&timep);
	printf("%s",ctime(&timep));

	struct timeval tv;
	gettimeofday(&tv,NULL);

	int ms=tv.tv_usec/1000-tv.tv_sec*1000;

	printf("s:%d\n",tv.tv_sec);
	printf("us:%d\n",tv.tv_usec);
	printf("ms:%d\n",tv.tv_usec/1000);

}
#endif